package com.cskaoyan.controller.wx.issue;

import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.bean.vo.wx.issue.WxIssueListVo;
import com.cskaoyan.service.wx.issue.WxIssueService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: bwj
 * @Date: 2022/09/13/0:06
 * @Description:
 */
@RestController
@RequestMapping("wx/issue")
public class WxIssueController {
    @Autowired
    WxIssueService issueService;
    @RequestMapping("list")
    public BaseRespVo<WxIssueListVo> list(Integer page,Integer limit) {
        WxIssueListVo listVo=issueService.list(page,limit);
        return BaseRespVo.ok(listVo);
    }
}
